<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<style>
.formTable{text-align:left;}

</style>

<script type="text/javascript" src="${ctx}/pages/templete/js/validate/marketdeposit/apply.js"></script>
<form id="form" action="${ctx}/marketdeposit/doApply.do" method="POST" target="_blank" >
	<input type="hidden" name="VerficationCode" value="${config.verficationCode }"/>
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
				<select id="version" name="version">
					<option value="2.0"  >2.0</option>
					<option value="2.1" selected >2.1</option>
				</select>
			</td>
		</tr>
		<tr>
			<td align=right>交易代码:</td>
			<td>
				<input type="text" id="tranCode" name="tranCode" value="${config.tranCode }" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>商户编号:</td>
			<td>
				<input type="text" id="merchantID" name="merchantID" value="${config.merchantID }" size="50"/>
			</td>
			<td align=left>
				<font color=red>*</font>
				<span id="merchantIDTip"></span>
			</td>
		</tr>
		
		<tr>
			<td align=right>订单号:</td>
			<td>
				<input type="text" id="merOrderNum" name="merOrderNum" value="" size="50" autoComplete="off"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merOrderNumTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>收益账户:</td>
			<td>
				<input type="text" id="payAcct" name="payAcct" value="${config.payAcct }" style="width:450px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="payAcctTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>市场存管账户:</td>
			<td>
				<input type="text" id="recvAcct" name="recvAcct" value="${config.recvAcct }" style="width:450px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="recvAcctTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>金额:</td>
			<td>
				<input type="text" id="tranAmt" name="tranAmt" value="${config.tranAmt }" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranAmtTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>申请时间:</td>
			<td><input type="text" id="tranDateTime" name="tranDateTime" value="${config.tranDateTime }" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="tranDateTimeTip"></span>
			</td>
		</tr>		
		<tr>
			<td width="30%" align="right">报文加密方式:</td>
			<td width="45%" align="left"><input type="text" size="50" value="1" name="signType" id="signType">
			</td>
			<td width="25%" align="left"><span id="signTypeTip"></span></td>
		</tr>
		<tr><td align=right></td><td align=center>1:MD5,2:SHA</td></tr>
		<tr><td align=right>字符集:  </td><td><input type="text"  id="charset" name="charset" value="2" size="50"/></td></tr>
		<tr><td align=right></td><td align=center>1:GBK,2:UTF-8 (不填则当成1处理)</td></tr>
		<tr><td align=right>商户识别码:  </td><td><input type="text" id="verficationCode" name="verficationCode" value="${config.verficationCode }" size="50"/></td></tr>
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="button" value="设置订单" id="defButton" name="defButton"/>&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
	</table>
</form>